]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowPreview: Remove slotId property
authorJonas Dreßler <verdre@v0yd.nl>
Tue, 7 Jul 2020 09:21:02 +0000 (11:21 +0200)
committerJonas Dreßler <verdre@v0yd.nl>
Tue, 7 Jul 2020 09:22:20 +0000 (11:22 +0200)
We're no longer using that property, so clean up a bit and remove the
last occurences of it.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1351

js/ui/windowPreview.js
js/ui/workspace.js

index c5510e4c1a782034ed058a143ea2960f0e0a30cf..48d42c87d3bab0965f3ee9e539f14f824cbdd06e 100644 (file)
@@ -229,7 +229,6 @@ var WindowPreview = GObject.registerClass({
 
         this._delegate = this;
 
-        this.slotId = 0;
         this._stackAbove = null;
 
         this._windowContainer.layout_manager.connect(
index d2bbfc299d8647b52446c94d4e60cb44ac395f5a..e1b5ea7a8f8b4feb6b54084a62e9d9fe7a640a12 100644 (file)
@@ -601,8 +601,6 @@ var WorkspaceLayout = GObject.registerClass({
             const [x, y, width, height] = this._windowSlots[index];
             const windowInfo = this._windows.get(child);
 
-            child.slotId = index;
-
             if (windowInfo.metaWindow.showing_on_its_workspace()) {
                 workspaceBox.x1 = child.boundingBox.x - this._workarea.x;
                 workspaceBox.x2 = workspaceBox.x1 + child.boundingBox.width;